#ifndef FILEINFOEDIT_H
#define FILEINFOEDIT_H

#include <QWidget>
#include <QSqlTableModel>

namespace Ui {
class FileInfoEdit;
}

class FileInfoEdit : public QWidget
{
    Q_OBJECT

public:
    explicit FileInfoEdit(QWidget *parent = 0);
    ~FileInfoEdit();
    void initModelView();

private slots:
    void on_buttonAdd_clicked();

    void on_buttonDel_clicked();

    void on_buttonSure_clicked();

    void on_buttonCancel_clicked();

    void on_buttonFind_clicked();

    void on_buttonBack_clicked();

private:
    Ui::FileInfoEdit *ui;
    QSqlTableModel *model;
};

#endif // FILEINFOEDIT_H
